package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * rebate_history-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class RebateHistory extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	 private Long userId;
	/**
	 * 返利金额
	 */
	@ApiModelProperty(value = "返利金额")
	 private Float amount;
	/**
	 * 返利时间
	 */
	@ApiModelProperty(value = "返利时间")
	 private Timestamp createTime;
	/**
	 * 返利类型
	 */
	@ApiModelProperty(value = "返利类型")
	 private String type;
	/**
	 * 返利来自某月
	 */
	@ApiModelProperty(value = "返利来自某月")
	 private Integer month;
	/**
	 * 某年账单返利
	 */
	@ApiModelProperty(value = "某年账单返利")
	 private Integer thisYear;
	/**
	 * 某月账单返利
	 */
	@ApiModelProperty(value = "某月账单返利")
	 private Integer thisMonth;
	
	/**
	 * 前端展示返利总金额
	 */
	private float showTotalAmount;
	
	/**
	 * 前端展示返利账单年月
	 */
	private String showYearAndMonth;
	
	/**
	 * 前端筛选年
	 */
	private List<Integer> showYearList;
	
	/**
	 * 用户昵称
	 */
	private String userNickName;
	
	/**
	 * 返利类别
	 */
	@ApiModelProperty(value = "返利类别")
	 private Integer category;
    
    /**
	 * @return the category
	 */
	public Integer getCategory() {
		return category;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(Integer category) {
		this.category = category;
	}

	public RebateHistory(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Float getAmount() {
        return this.amount;
    }
    
    public void setAmount(Float amount) {
        this.amount = amount;
    }

    public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    public Integer getMonth() {
        return this.month;
    }
    
    public void setMonth(Integer month) {
        this.month = month;
    }
    public Integer getThisYear() {
        return this.thisYear;
    }
    
    public void setThisYear(Integer thisYear) {
        this.thisYear = thisYear;
    }
    public Integer getThisMonth() {
        return this.thisMonth;
    }
    
    public void setThisMonth(Integer thisMonth) {
        this.thisMonth = thisMonth;
    }

	public float getShowTotalAmount() {
		return showTotalAmount;
	}

	public void setShowTotalAmount(float showTotalAmount) {
		this.showTotalAmount = showTotalAmount;
	}

	public String getShowYearAndMonth() {
		return showYearAndMonth;
	}

	public void setShowYearAndMonth(String showYearAndMonth) {
		this.showYearAndMonth = showYearAndMonth;
	}

	public List<Integer> getShowYearList() {
		return showYearList;
	}

	public void setShowYearList(List<Integer> showYearList) {
		this.showYearList = showYearList;
	}

	public String getUserNickName() {
		return userNickName;
	}

	public void setUserNickName(String userNickName) {
		this.userNickName = userNickName;
	}

}